﻿using System.ComponentModel.DataAnnotations;

namespace OurWedding1.Models
{
    [MetadataType(typeof(GuestFunctionBuddy))]
    public partial class GuestFunction
    {
        
    }

    public class GuestFunctionBuddy
    {
        [Required(ErrorMessageResourceType = typeof (Resources), ErrorMessageResourceName = "GuestFunction_Name")]
        [Display(ResourceType = typeof (Resources), Name = "GuestFunction_Name")]
         public string Name { get; set; }
    }
}